<template>
  <div>
    <div class="header">
      <router-link to="/">
        <div class="logo">
          <img class="logo" src="https://law.bit.edu.cn/images/logo.png" alt="">
        </div>
      </router-link>
      <div class="h-img">
        <img class="h-img" src="https://law.bit.edu.cn/images/xx.png" alt="">
      </div>
      <div class="h-nav">
        <router-link to="/gb">
          <div class="nav-item">
            校友组织
          </div>
        </router-link>
        <router-link to="/bird">
          <div class="nav-item">
            青鸟归巢
          </div>
        </router-link>
        <router-link to="/alumnus">
          <div class="nav-item">
            校友信息
          </div>
        </router-link>
        <router-link to="/message">
          <div class="nav-item">
            校友印记
          </div>
        </router-link>
        <!-- <div class="nav-item" style="margin-right: 50px;cursor: pointer;color: #fff;">
          我的后台
        </div> -->
      </div>
    </div>

  </div>
</template>

<script>


export default {
  name: 'HelloWorld',
  data() {
    return {
      msg: 'Welcome to Your Vue.js App',

    }
  },
  methods: {}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
a {
  text-decoration: none;
  color: #ffffff;
}

.nav-item:hover {
  color: #e2ca5b;
}

.nav-item {
  display: flex;
  align-items: center;
  height: 100%;
  font-weight: 600;
  cursor: pointer;
}

.h-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 500px;
  margin-left: 50px;
  position: relative;
  z-index: 10;
}

.h-img {
  position: absolute;
  top: 10px;
  left: 40%;
  width: 200px;
  z-index: 0;
}

.h-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 200px;
  height: 40px;
  display: flex;
  align-items: center
}

.header {
  position: relative;
  width: 100%;
  color: #ffffff;
  background-color: #93171f;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>
